package com.ting.test.algorithms.堆.加强堆;

import java.util.Comparator;

public class MyIntComparator implements Comparator<Integer> {
    @Override
    public int compare(Integer o1, Integer o2) {
        //默认 当o1-o2<=0 o1在o2后前面
        //默认 当o1-o2>0 o1在o2面
        return o1-o2;
    }
}
